home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / Prograph Classic 2.6.1 / Prograph Reference Manual / Prograph Reference 5-7 / Prograph Reference 5-7.rsrc / TEXT_146.txt < prev    next >
Encoding:
Text File  |  1995-10-25  |  4.9 KB  |  180 lines

  1. ¬†         Scroll List 
  2.  
  3. Inherits from:     Window Item 
  4.  
  5.  
  6. _____________________________________________________
  7. ¬†         name  *222*
  8.  
  9. Type:   string 
  10.  
  11. Description:    Used by the primitive find-item to find a ¬´Scroll List¬ª by name. 
  12.  
  13.  
  14. _____________________________________________________
  15. ¬†         owner  *222*
  16.  
  17. Type:   Window 
  18.  
  19. Constraints:    Not settable.    
  20.  
  21. Description:   If ¬´Scroll List¬ª is a member of item list of an active ¬´Window¬ª, then the value of this attribute is that ¬´Window¬ª; otherwise it is NULL.    
  22.  
  23.  
  24.  
  25. _____________________________________________________
  26. ¬†         active?  *222*
  27.  
  28. Type:   boolean    
  29.  
  30. Constraints:    Not settable on default.    
  31.  
  32. Description: ¬´Scroll List¬ª responds to clicks only if the value of this attribute is set to TRUE, and the value of the visible? attribute is set to TRUE.    
  33.  
  34. Side effects:    Setting causes ¬´Scroll List¬ª to be redrawn. When the value of this attribute is set to FALSE, the scroll bar is removed from ¬´Scroll List¬ª.      
  35.  
  36.  
  37.  
  38. _____________________________________________________
  39. ¬†         visible?  *223*
  40.  
  41. Type:   boolean    
  42.  
  43. Description:   ¬´Scroll List¬ª is displayed in the owning ¬´Window¬ª if and only if the value of this attribute is TRUE, and the value of the active? attribute is set to TRUE.    
  44.  
  45. Side effects:    Setting causes ¬´Scroll List¬ª to be redrawn.      
  46.  
  47.  
  48.  
  49. _____________________________________________________
  50. ¬†         move?   *223*
  51.  
  52. Type:   boolean    
  53.  
  54. Description:      The location of ¬´Scroll List¬ª is changed relative to the size of the owning ¬´Window¬ª if and only if the value of this attribute is TRUE.    
  55.  
  56.  
  57.  
  58. _____________________________________________________
  59. ¬†         grow?   *223*
  60.  
  61. Type:   boolean    
  62.  
  63. Description:      The size of ¬´Scroll List¬ª is changed relative to the size of the owning ¬´Window¬ª if and only if the value of this attribute is TRUE.    
  64.  
  65.  
  66.  
  67. _____________________________________________________
  68. ¬†         location   *223*
  69.  
  70. Type:   Point    
  71.  
  72. Description:    The location of the upper left corner of ¬´Scroll List¬ª in the owning ¬´Window¬ª.    
  73.  
  74. Side effects:    Setting causes ¬´Scroll List¬ª to be redrawn.    
  75.  
  76.  
  77.  
  78. _____________________________________________________
  79. ¬†         size   *224*
  80.  
  81. Type:   Point    
  82.  
  83. Description:    Offset of lower right corner of ¬´Scroll List¬ª from upper left corner.    
  84.  
  85. Side effects:    Setting causes ¬´Scroll List¬ª to be redrawn.    
  86.  
  87.  
  88.  
  89. _____________________________________________________
  90. ¬†         balloon   *224*
  91.  
  92. Type:     list 
  93.  
  94. Description:    Balloon Help information; format varies with the type (Prograph string or 'STR ', 'STR#', 'TEXT' or 'PICT' resource) of Balloon Help.    
  95.  
  96.  
  97.  
  98. _____________________________________________________
  99. ¬†          list record   *224*
  100.  
  101. Type:   ListRec@@    
  102.  
  103. Constraints:    Not settable.    
  104.  
  105. Description: The list record for the scrolling list.    
  106.  
  107.  
  108.  
  109. _____________________________________________________
  110. ¬†          select list   *224*
  111.  
  112. Type:   list of integer     
  113.  
  114. Constraints:    Not settable to any list containing integers outside the range for valid indeces into the list in attribute value list.
  115.     
  116. Description: List of indeces of items that are currently selected in the scrolling list.    
  117.  
  118.  
  119.  
  120. _____________________________________________________
  121. ¬†          value list   *224*
  122.  
  123. Type:  list of string  
  124.  
  125. Description: List of strings displayed in the scrolling list.    
  126.  
  127.  
  128.  
  129. _____________________________________________________
  130. ¬†         click method   *225*
  131.  
  132. Type:   string    
  133.  
  134. Description: Name of method called when a click occurs on an item in the scrolling list. ¬´Scroll List¬ª responds to clicks only if the value of this attribute is a nonempty string. To determine whether a double-click has occurred, use the primitive is-double? on the <EventRecord of click>.    
  135.  
  136. Method inputs:     <owning ¬´Window¬ª>, ¬´Scroll List¬ª, <integer: index of clicked element>, <EventRecord of click>    
  137.  
  138.  
  139.  
  140. _____________________________________________________
  141. ¬†         font   *225*
  142.  
  143. Type:   integer 
  144.  
  145. Description: The font in which ¬´Scroll List¬ª is drawn. See Mac Constants (geneva, and so on) in the ÀôInfo‚Ķ dialog for some values, as well as chapter 7, ‚ÄúThe Macintosh Toolbox.‚Äù    
  146.  
  147. Side effects:   Setting causes ¬´Scroll List¬ª to be redrawn.      
  148.  
  149.  
  150.  
  151. _____________________________________________________
  152. ¬†         font style   *225*
  153.  
  154. Type:   integer    
  155.  
  156. Description: The style in which ¬´Scroll List¬ª is drawn. See Mac Constants (bold, and so on) in the ÀôInfo‚Ķ dialog for some values, as well as chapter 7, ‚ÄúThe Macintosh Toolbox.‚Äù    
  157.  
  158. Side effects:   Setting causes ¬´Scroll List¬ª to be redrawn.  
  159.     
  160.  
  161.  
  162. _____________________________________________________
  163. ¬†         font size   *225*
  164.  
  165. Type:   integer 
  166.  
  167. Description: The point size in which ¬´Scroll List¬ª is drawn.  
  168.     
  169. Side effects:   Setting causes ¬´Scroll List¬ª to be redrawn.      
  170.  
  171.  
  172.  
  173. _____________________________________________________
  174. ¬†         multiple sel?   *226*
  175.  
  176. Type:   boolean 
  177.  
  178. Description: If TRUE, multiple selections are allowed when the user hods down the shift key and selects entries in the list. If FALSE, each new selection deselects the previous one.     
  179.  
  180.